using System;
using System.Data;
using System.Collections.Generic;
using System.ServiceModel;
using eTMS.DAO;
namespace eTMS.Services{
	/********************************BEGIN DiemRenLuyenService****************************************/
	///<summary>
	/// <para>Author: Auto generated class by CSharp Code Generator v2.0</para>
	/// <para>Date:27/10/2011 56:03:12</para>
	/// <para>Class Name: DiemRenLuyenService</para>
	/// <para>Description: </para>
	///</summary>

	
	public partial class DiemRenLuyenService : IDiemRenLuyenService{


		#region Select functions
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: SelectOne</para>
		/// <para>Input: DiemRenLuyen_ID</para>
		/// <para>Output: DiemRenLuyenEntity</para>
		///</summary>
		public DiemRenLuyenEntity SelectOne(int DiemRenLuyen_ID){
			DiemRenLuyenDAO dao = new DiemRenLuyenDAO();
			return dao.SelectOne(DiemRenLuyen_ID);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: SelectAll</para>
		/// <para>Input: </para>
		/// <para>Output: List of DiemRenLuyenEntity</para>
		///</summary>
		public List<DiemRenLuyenEntity> SelectAll(){
			DiemRenLuyenDAO dao = new DiemRenLuyenDAO();
			return dao.SelectAll();
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: SelectAllDS</para>
		/// <para>Input: </para>
		/// <para>Output: DataSet</para>
		///</summary>
		public DataSet SelectAllDS(){
			DiemRenLuyenDAO dao = new DiemRenLuyenDAO();
			return dao.SelectAllDS();
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: SelectAll</para>
		/// <para>Input: </para>
		/// <para>Output: List of DiemRenLuyenEntity</para>
		///</summary>
		public List<DiemRenLuyenEntity> SelectAllFilter(string strFilter){
			DiemRenLuyenDAO dao = new DiemRenLuyenDAO();
			return dao.SelectAllFilter(strFilter);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: SelectAllDS</para>
		/// <para>Input: </para>
		/// <para>Output: DataSet</para>
		///</summary>
		public DataSet SelectAllDSFilter(string strFilter){
			DiemRenLuyenDAO dao = new DiemRenLuyenDAO();
			return dao.SelectAllDSFilter(strFilter);
		}
		#endregion

		#region Insert functions
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: Save</para>
		/// <para>Input: DiemRenLuyenEntity</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool Save(DiemRenLuyenEntity o){
			DiemRenLuyenDAO dao = new DiemRenLuyenDAO();
			return dao.Save(o);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: Save</para>
		/// <para>Input: DiemRenLuyenEntity</para>
		/// <para>Output: DiemRenLuyenEntity</para>
		///</summary>
		public DiemRenLuyenEntity SaveRet(DiemRenLuyenEntity o){
			DiemRenLuyenDAO dao = new DiemRenLuyenDAO();
			dao.Save(o);
			return o;
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: SaveList</para>
		/// <para>Input: List of DiemRenLuyenEntity</para>
		/// <para>Output: </para>
		///</summary>
		public void SaveList(List<DiemRenLuyenEntity> list){
			DiemRenLuyenDAO dao = new DiemRenLuyenDAO();
			dao.SaveList(list);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: SaveListRet</para>
		/// <para>Input: List of DiemRenLuyenEntity</para>
		/// <para>Output: List of DiemRenLuyenEntity</para>
		///</summary>
		public List<DiemRenLuyenEntity> SaveListRet(List<DiemRenLuyenEntity> list){
			this.SaveList(list);
			return list;
		}
		#endregion

		#region Update functions
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: Update</para>
		/// <para>Input: DiemRenLuyenEntity</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool Update(DiemRenLuyenEntity o){
			DiemRenLuyenDAO dao = new DiemRenLuyenDAO();
			return dao.Update(o);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: UpdateList</para>
		/// <para>Input: List of DiemRenLuyenEntity</para>
		/// <para>Output: </para>
		///</summary>
		public void UpdateList(List<DiemRenLuyenEntity> list){
			DiemRenLuyenDAO dao = new DiemRenLuyenDAO();
			dao.UpdateList(list);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: UpdateDiem</para>
		/// <para>Input: NewDiem,DiemRenLuyen_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool UpdateDiem(Decimal NewDiem,int DiemRenLuyen_ID){
			DiemRenLuyenDAO dao = new DiemRenLuyenDAO();
			return dao.UpdateDiem(NewDiem,DiemRenLuyen_ID);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: UpdateXepLoai</para>
		/// <para>Input: NewXepLoai,DiemRenLuyen_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool UpdateXepLoai(string NewXepLoai,int DiemRenLuyen_ID){
			DiemRenLuyenDAO dao = new DiemRenLuyenDAO();
			return dao.UpdateXepLoai(NewXepLoai,DiemRenLuyen_ID);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: UpdateSinhVien_ID</para>
		/// <para>Input: NewSinhVien_ID,DiemRenLuyen_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool UpdateSinhVien_ID(int NewSinhVien_ID,int DiemRenLuyen_ID){
			DiemRenLuyenDAO dao = new DiemRenLuyenDAO();
			return dao.UpdateSinhVien_ID(NewSinhVien_ID,DiemRenLuyen_ID);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: UpdateNamHoc_ID</para>
		/// <para>Input: NewNamHoc_ID,DiemRenLuyen_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool UpdateNamHoc_ID(int NewNamHoc_ID,int DiemRenLuyen_ID){
			DiemRenLuyenDAO dao = new DiemRenLuyenDAO();
			return dao.UpdateNamHoc_ID(NewNamHoc_ID,DiemRenLuyen_ID);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: UpdateHocKy_ID</para>
		/// <para>Input: NewHocKy_ID,DiemRenLuyen_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool UpdateHocKy_ID(int NewHocKy_ID,int DiemRenLuyen_ID){
			DiemRenLuyenDAO dao = new DiemRenLuyenDAO();
			return dao.UpdateHocKy_ID(NewHocKy_ID,DiemRenLuyen_ID);
		}
		#endregion

		#region Delete functions
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: Delete</para>
		/// <para>Input: DiemRenLuyenEntity</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool Delete(DiemRenLuyenEntity o){
			DiemRenLuyenDAO dao = new DiemRenLuyenDAO();
			return dao.Delete(o);
		}
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:27/10/2011 56:03:12</para>
		/// <para>Name: DeleteByID</para>
		/// <para>Input: DiemRenLuyen_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		public bool DeleteByID(int DiemRenLuyen_ID){
			DiemRenLuyenDAO dao = new DiemRenLuyenDAO();
			return dao.DeleteByID(DiemRenLuyen_ID);
		}
		#endregion

		#region Select join to HocKyNamHocSinhVien functions
		#endregion

		#region Select join to HocKy functions
		#endregion

		#region Select join to NamHoc functions
		#endregion

		#region Select join to SinhVien functions
		#endregion

		#region Select,delete by DiemRenLuyen_ID functions
		#endregion

		#region Select,delete by SinhVien_ID functions
		#endregion

		#region Select,delete by NamHoc_ID functions
		#endregion

		#region Select,delete by HocKy_ID functions
		#endregion
	}
	/*****************************************************************************************************/
	/**********************************END DiemRenLuyenWebServiceBase*****************************************/
	/*****************************************************************************************************/
}

